﻿using System;
using Csla;

namespace BizControl.Library.Criterias
{
  [Serializable()]
  public class DataAndObjectCriteria : CriteriaBase<DataAndObjectCriteria>
  {
    private object _data;
    public object Data
    {
      get { return _data; }
    }

    private object _obj;
    public object Obj
    {
      get { return _obj; }
    }

    public DataAndObjectCriteria(object data, object obj)
    {
      _obj = obj;
      _data = data;
    }
  }
}
